//
//  Person.m
//  oc4.13
//
//  Created by mac on 16-4-13.
//  Copyright (c) 2016年 oc4.13. All rights reserved.
//

#import "Person.h"

@implementation Person

-(void)eat
{
    NSLog(@"Person %@ eats!",self.name);
}
-(void)sleep{
    NSLog(@"Person %@ sleep!",self.name);
}
-(void)talk:(NSString *)text
{
    NSLog(@"Person %@ says:%@!",self.name,text);
}
@end
